package com.itheima.abstractDemo2;
public class Teacher extends People{

    public Teacher(String name,int age,String sex)
    {
        super(name,age,sex);
    }
    public Teacher(){}
    @Override
    public void mainwrite() {
        System.out.println("老师写代码");
    }
}
